package structure.facade;

/**
 * @author lzp
 * @Date:2023/2/24
 * @description: 开户创建的公司
 */
public class Company {

	/**
	 * 公司名称
	 */
	private String name;

	/**
	 * 公司Id
	 */
	private Integer companyId;

	/**
	 * 银行账户
	 */
	private String bankAccount;

	/**
	 * 纳税码
	 */
	private String taxCode;

	public Company(String name, Integer companyId) {
		this.name = name;
		this.companyId = companyId;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public void setTaxCode(String taxCode) {
		this.taxCode = taxCode;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public String getTaxCode() {
		return taxCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	@Override
	public String toString() {
		return "Company{" +
				"name='" + name + '\'' +
				", companyId=" + companyId +
				", bankAccount='" + bankAccount + '\'' +
				", taxCode='" + taxCode + '\'' +
				'}';
	}
}
